package com.kgc.mapper;

import com.kgc.bean.UserDiscountTrick;

import com.kgc.bean.UserDiscountTrickExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserDiscountTrickMapper {
    long countByExample(UserDiscountTrickExample example);

    int deleteByExample(UserDiscountTrickExample example);

    int deleteByPrimaryKey(Integer ticketId);

    int insert(UserDiscountTrick record);

    int insertSelective(UserDiscountTrick record);

    List<UserDiscountTrick> selectByExample(UserDiscountTrickExample example);

    UserDiscountTrick selectByPrimaryKey(Integer ticketId);

    int updateByExampleSelective(@Param("record") UserDiscountTrick record, @Param("example") UserDiscountTrickExample example);

    int updateByExample(@Param("record") UserDiscountTrick record, @Param("example") UserDiscountTrickExample example);

    int updateByPrimaryKeySelective(UserDiscountTrick record);

    int updateByPrimaryKey(UserDiscountTrick record);
}